@import '@/app/styles/variables';

.block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 32px;
    border: 1px solid var(--Simple-Gray-Day, #e1e1e1);

    section {
        display: flex;
        align-items: center;
        cursor: pointer;
        justify-content: space-between;
        padding: 32px 32px 16px 32px;
        width: 100%;

        svg {
            transform: scale(1.4);
        }

        span {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
    }

    div {
        margin-left: 32px;
        width: calc(100% - 64px);
    }

    section:last-child {
        padding: 16px 32px 32px 32px;
    }

    .divider {
        width: 20%;
    }
}

.avail {
    color: var(--Simple-Gray-Midnight, #7d7d7d);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 16px 16px 16px;

    svg {
        transform: scale(1.4);
    }
}

@include media(sm) {
    .info {
        padding: 0px 0px 12px 0px;
    }

    .btn {
        font-size: 12px;
    }

    .block {
        border: none;
        padding: 0px;
        align-items: flex-end;
        width: auto;
        gap: 16px;

        section {
            padding: 0px;
            width: 100%;

            svg {
                transform: scale(1.1);
            }
        }

        div {
            width: 100%
        }

        section:last-child {
            padding: 0px;
        }

        .divider {
            width: 20%;
        }
    }

    .avail {
        color: var(--Simple-Gray-Midnight, #7d7d7d);
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
    }

    .link {
        font-size: 14px;
    }
}